import { ref } from 'vue'

const visible = ref(false)
const options = ref({})
export const useDynamicForm = () => {
  function openForm(_options) {
    visible.value = true
    options.value = _options
  }

  return { visible, options, openForm }
}
